package org.tigris.scarab.model;

import java.io.Serializable;

/**
 * @mbggenerated Mon Apr 11 17:57:15 CEST 2011
 */
public class Module implements Serializable {

    private Integer moduleId; //SCARAB_MODULE.MODULE_ID
    private String name; //SCARAB_MODULE.MODULE_NAME
    private String domain; //SCARAB_MODULE.DOMAIN
    private String code; //SCARAB_MODULE.MODULE_CODE
    private String description; //SCARAB_MODULE.MODULE_DESCRIPTION
    private String url; //SCARAB_MODULE.MODULE_URL
    private String archiveEmail; //SCARAB_MODULE.ARCHIVE_EMAIL
    private Integer parentId = 0; //SCARAB_MODULE.PARENT_ID
    private Integer ownerId; //SCARAB_MODULE.OWNER_ID
    private Integer qaContactId; //SCARAB_MODULE.QA_CONTACT_ID
    private boolean deleted; //SCARAB_MODULE.DELETED
    private boolean locked; //SCARAB_MODULE.LOCKED
    private Integer classKey; //SCARAB_MODULE.CLASS_KEY

    public Integer getModuleId() {
        return moduleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String moduleName) {
        this.name = moduleName == null ? null : moduleName.trim();
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain == null ? null : domain.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String moduleCode) {
        this.code = moduleCode == null ? null : moduleCode.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String moduleDescription) {
        this.description = moduleDescription == null ? null : moduleDescription.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String moduleUrl) {
        this.url = moduleUrl == null ? null : moduleUrl.trim();
    }

    public String getArchiveEmail() {
        return archiveEmail;
    }

    public void setArchiveEmail(String archiveEmail) {
        this.archiveEmail = archiveEmail == null ? null : archiveEmail.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Integer ownerId) {
        this.ownerId = ownerId;
    }

    public Integer getQaContactId() {
        return qaContactId;
    }

    public void setQaContactId(Integer qaContactId) {
        this.qaContactId = qaContactId;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public boolean isLocked() {
        return locked;
    }

    public void setLocked(boolean locked) {
        this.locked = locked;
    }

    public Integer getClassKey() {
        return classKey;
    }

    public void setClassKey(Integer classKey) {
        this.classKey = classKey;
    }
}